<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<title></title>
		<style type="text/css">
			* {
				margin: 0;
				padding: 0;
			}
			html{
				font-size: 62.5%;
			}
			.all {
				background-color: gainsboro;
			}
			
			.head {
				min-height: 5rem;
				overflow: hidden;
				height: 5rem;
				line-height: 5rem;
			}
			
			.head ul {
				white-space: nowrap;
			}
			
			.head li {
				min-height: 5rem;
				float: left;
				border: 1px solid grey;
				border-radius: 5px;
				text-align: center;
				margin: 0 5px;
				list-style: none;
				background-color: burlywood;
				width: 5rem;
				color: black;
			}
			
			.body {
				text-align: center;
				font-size: 1.8rem;
				line-height: 10rem;
			}
			
			.left {
				height: 10rem;
				max-height: 600px;
				float: left;
				width: 30%;
				background-color: bisque;
			}
			
			.right {
				height: 10rem;
				max-height: 600px;
				float: left;
				width: 70%;
				background-color: aquamarine;
			}
			a{
				text-decoration: none;
			}
		</style>
	</head>

	<body>
		<div class="all">
			<div class="head">
				<ul>
					<a href="day1/word1.html"><li style="border: 1px solid red;">one</li></a>
					<a href="day1/word2.html"><li style="border: 1px solid red;">two</li></a>
					<li>three</li>
					<li>four</li>
					<li>five</li>
				</ul>
			</div>
			<div class="body">
				<div class="left">
					12345
				</div>
				<div class="right">
					67890
				</div>
			</div>
		</div>
		<script src="js/jquery-1.11.0.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript">
			$(function() {
				window.onresize = function() {
					var wid = $(window).width();
					var h = wid / 375 * 10;
//					$(".head li").css("line-height",$(".head li").height()+"px");
					$(".body div").css("line-height",$(".body div").height()+"px");
					$("html").css("font-size", parseInt(h, 10) + "px");
				}
			})
		</script>
	</body>

</html>